﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class usercontrols_vote : System.Web.UI.UserControl
{
    public double Star { get; set; }
    public bool Enable { get; set; }
    public string VID { get; set; }
    //
    protected void Page_Load(object sender, EventArgs e)
    {
        ltrVote.Text = "<div id='" + VID + "' class='uvote productRateInfo' enable='" + Enable.ToString().ToLower() + "' star='" + String.Format("{0:0.#}", Star) +"'></div>";
    }
}